﻿#pragma once


// CChangePictureDlg 对话框
#define MIDSAVEPICNAME _T("中介图片.png")
class CChangePictureDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CChangePictureDlg)

public:
	CChangePictureDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CChangePictureDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG2 };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	//afx_msg void OnPaint();

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	void DrawImage();
	CString getEditText();
	CImage m_TargetImg;
	CEdit m_TextPath;
	CButton m_PicShow;

	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedOk();

	static CString NAME_MIDSAVEPICNAME();
};
